.class public Lcom/kwad/sdk/reward/b/c;
.super Lcom/kwad/sdk/reward/d;


# instance fields
.field private b:Landroid/view/ViewGroup;

.field private c:Landroid/view/ViewGroup;

.field private d:Lcom/kwad/sdk/reward/a/d;

.field private e:Lcom/kwad/sdk/contentalliance/detail/video/c;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/kwad/sdk/reward/d;-><init>()V

    new-instance v0, Lcom/kwad/sdk/reward/b/c$1;

    invoke-direct {v0, p0}, Lcom/kwad/sdk/reward/b/c$1;-><init>(Lcom/kwad/sdk/reward/b/c;)V

    iput-object v0, p0, Lcom/kwad/sdk/reward/b/c;->d:Lcom/kwad/sdk/reward/a/d;

    new-instance v0, Lcom/kwad/sdk/reward/b/c$2;

    invoke-direct {v0, p0}, Lcom/kwad/sdk/reward/b/c$2;-><init>(Lcom/kwad/sdk/reward/b/c;)V

    iput-object v0, p0, Lcom/kwad/sdk/reward/b/c;->e:Lcom/kwad/sdk/contentalliance/detail/video/c;

    return-void
.end method

.method static synthetic a(Lcom/kwad/sdk/reward/b/c;)V
    .locals 0

    invoke-direct {p0}, Lcom/kwad/sdk/reward/b/c;->k()V

    return-void
.end method

.method static synthetic b(Lcom/kwad/sdk/reward/b/c;)V
    .locals 0

    invoke-direct {p0}, Lcom/kwad/sdk/reward/b/c;->l()V

    return-void
.end method

.method private k()V
    .locals 2

    iget-object v0, p0, Lcom/kwad/sdk/reward/b/c;->b:Landroid/view/ViewGroup;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setVisibility(I)V

    iget-object v0, p0, Lcom/kwad/sdk/reward/b/c;->c:Landroid/view/ViewGroup;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setVisibility(I)V

    return-void
.end method

.method private l()V
    .locals 2

    iget-object v0, p0, Lcom/kwad/sdk/reward/d;->a:Lcom/kwad/sdk/reward/a;

    iget-object v0, v0, Lcom/kwad/sdk/reward/a;->m:Ljava/util/Set;

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/kwad/sdk/reward/a/d;

    invoke-interface {v1}, Lcom/kwad/sdk/reward/a/d;->a()V

    goto :goto_0

    :cond_0
    return-void
.end method


# virtual methods
.method protected a()V
    .locals 2

    invoke-super {p0}, Lcom/kwad/sdk/reward/d;->a()V

    iget-object v0, p0, Lcom/kwad/sdk/reward/b/c;->b:Landroid/view/ViewGroup;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setVisibility(I)V

    iget-object v0, p0, Lcom/kwad/sdk/reward/d;->a:Lcom/kwad/sdk/reward/a;

    iget-object v0, v0, Lcom/kwad/sdk/reward/a;->m:Ljava/util/Set;

    iget-object v1, p0, Lcom/kwad/sdk/reward/b/c;->d:Lcom/kwad/sdk/reward/a/d;

    invoke-interface {v0, v1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/kwad/sdk/reward/d;->a:Lcom/kwad/sdk/reward/a;

    iget-object v0, v0, Lcom/kwad/sdk/reward/a;->i:Lcom/kwad/sdk/reward/c/a;

    iget-object v1, p0, Lcom/kwad/sdk/reward/b/c;->e:Lcom/kwad/sdk/contentalliance/detail/video/c;

    invoke-virtual {v0, v1}, Lcom/kwad/sdk/reward/c/a;->a(Lcom/kwad/sdk/contentalliance/detail/video/c;)V

    return-void
.end method

.method protected b()V
    .locals 1

    invoke-super {p0}, Lcom/kwad/sdk/mvp/Presenter;->b()V

    const-string v0, "ksad_play_detail_top_toolbar"

    invoke-virtual {p0, v0}, Lcom/kwad/sdk/mvp/Presenter;->a(Ljava/lang/String;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    iput-object v0, p0, Lcom/kwad/sdk/reward/b/c;->b:Landroid/view/ViewGroup;

    const-string v0, "ksad_play_end_top_toolbar"

    invoke-virtual {p0, v0}, Lcom/kwad/sdk/mvp/Presenter;->a(Ljava/lang/String;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    iput-object v0, p0, Lcom/kwad/sdk/reward/b/c;->c:Landroid/view/ViewGroup;

    return-void
.end method

.method protected c()V
    .locals 2

    invoke-super {p0}, Lcom/kwad/sdk/mvp/Presenter;->c()V

    iget-object v0, p0, Lcom/kwad/sdk/reward/d;->a:Lcom/kwad/sdk/reward/a;

    iget-object v0, v0, Lcom/kwad/sdk/reward/a;->m:Ljava/util/Set;

    iget-object v1, p0, Lcom/kwad/sdk/reward/b/c;->d:Lcom/kwad/sdk/reward/a/d;

    invoke-interface {v0, v1}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/kwad/sdk/reward/d;->a:Lcom/kwad/sdk/reward/a;

    iget-object v0, v0, Lcom/kwad/sdk/reward/a;->i:Lcom/kwad/sdk/reward/c/a;

    iget-object v1, p0, Lcom/kwad/sdk/reward/b/c;->e:Lcom/kwad/sdk/contentalliance/detail/video/c;

    invoke-virtual {v0, v1}, Lcom/kwad/sdk/reward/c/a;->b(Lcom/kwad/sdk/contentalliance/detail/video/c;)V

    return-void
.end method
